package com.gxa.jd.service;

import com.gxa.jd.pojo.Hotel;
import com.gxa.entity.PageResult;

import java.util.*;

/**
 * hotel业务逻辑层
 */
public interface HotelService {


    public List<Hotel> findAll();


    public PageResult<Hotel> findPage(int page, int size);


    public List<Hotel> findList(Map<String, Object> searchMap);


    public PageResult<Hotel> findPage(Map<String, Object> searchMap, int page, int size);


    public Hotel findById(Integer id);

    public void add(Hotel hotel);


    public void update(Hotel hotel);


    public void delete(Integer id);

}
